<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	
</body>
<script>
	
	$().on('click',function(e){
		e.preventDefault();
		var obj={
			name:$('.in1').val(),
			tel:$('.in2').val(),
			email:$('in3').val()
		},
		var all=localStorage.getItem('list');
		if(all){
			all=JSON.parse(all);
			all.push(obj);
			localStorage.setItem('list',JSON.stringify(all))
		}else{
			localStorage.setItem('list',JSON.stringify([obj]))

		}
	})
</script>
</html>